import 'package:json_annotation/json_annotation.dart';

part 'batch_delete_commodity_result.g.dart';

@JsonSerializable()
class BatchDeleteCommodityResult extends Object {
  @JsonKey(name: 'id')
  int id;

  @JsonKey(name: 'title')
  String title;

  @JsonKey(name: 'status')
  int status;

  BatchDeleteCommodityResult(
    this.id,
    this.title,
    this.status,
  );

  factory BatchDeleteCommodityResult.fromJson(Map<String, dynamic> srcJson) => _$BatchDeleteCommodityResultFromJson(srcJson);

  Map<String, dynamic> toJson() => _$BatchDeleteCommodityResultToJson(this);
}
